package org.sl.flvplayer.elements {
	import flash.display.MovieClip;

	/**
	 * IControllerElement makes sure every button element can be added or removed from the display.  
	 * 
	 * @package org.sl.flvplayer.elements
	 * @author Dan
	 * @version
	 * @see org.sl.flvplayer.elements.ControllerElement
	 * @see org.sl.flvplayer.elements.PlayControllerElement
	 * @see org.sl.flvplayer.elements.SeekControllerElement
	 * @see org.sl.flvplayer.elements.VolumeControllerElement
	 */ 
	public interface IControllerElement {
		
		/**
		 * Adds a skin with its corresponding type.
		 * 
		 * @param p_skin skin as <code>MovieClip</code>
		 * @param p_type type of the skin
		 */
		function addSkin(p_skin : MovieClip, p_type : String) : void;
		
		/**
		 * Shows a skin depending on its type.
		 * 
		 * @param p_type type of the skin
		 */
		function showSkin(p_type : String) : void;
		
	}
}
